/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cz.worsik.android.test.rideshare.util.listener;

import android.widget.CompoundButton;
import android.widget.EditText;

public class RidiOnCheckListener implements CompoundButton.OnCheckedChangeListener
{
	EditText cena;

	public RidiOnCheckListener(EditText cena)
	{
		super();
		this.cena = cena;
	}

	public void onCheckedChanged(CompoundButton btn, boolean checked) 
	{
		cena.setEnabled(checked);
	}
}
